package com.liancheng.smarthome.manager;

/**
 * 网络请求管理类，分别获取对应接口的管理对象
 */
public class HttpManager {

    private HttpManager() {
    }
    public static String getIpPort(){
        return "http://portal.bysiot.com:81";
    }

    private final static String ipPort = "http://192.168.7.87:81/";
//    private final static String ipPort = "http://192.168.7.87:8970/";

    //登陆tag
    public final static int loginTag = 1000;
    public final static String loginUrl= ipPort+"operationplatformmgn/login";

    //登陆tag
    public final static int PersonalTag = 1001;
    public final static String PersonalUrl= ipPort+"operationplatformmgn/l/saas/platform-employee/employee";

    //修改密码
    public final static int updatePwdTag = 1001;
    public final static String updatePwdUrl=ipPort+ "operationplatformmgn/l/saas/platform-employee/changPassword";

    //查询报警列表
    public final static int lookAlarmListTag = 1002;
    public final static String lookAlarmListUrl= ipPort+"operationplatformmgn/o/saas/alarm/list/app";

    //查询产品列表
    public final static int lookChanpinListTag = 1003;
    public final static String lookChanpinListUrl= ipPort+"operationplatformmgn/o/saas/alarm/item/products";

    //查询公司列表
    public final static int lookcompanyListTag = 1004;
    public final static String lookcompanyListUrl= ipPort+"operationplatformmgn/o/saas/alarm/item/company";

    //查询公司的客户列表
    public final static int lookCustomerListTag = 1005;
    public final static String lookCustomerListUrl= ipPort+"operationplatformmgn/o/saas/alarm/item/customer";

    //根据公司及客户查询项目列表
    public final static int lookProjectListTag = 1006;
    public final static String lookProjectListUrl= ipPort+"operationplatformmgn/o/saas/alarm/item/project";

    //查询报警详情并标记已读
    public final static int lookAlarmContentTag = 1007;
    public final static String lookAlarmContentUrl= ipPort+"operationplatformmgn/o/saas/alarm/content";


    //查询设备监控列表
    public final static int lookEquipListTag = 1008;
//    public final static String lookEquipListUrl= ipPort+"operationplatformmgn/o/saas/alarm/list/app";
}
